#ifndef SCROLLAREA_H
#define SCROLLAREA_H


#include <QLabel>
#include <QSlider>
#include <QLineEdit>
#include <QWidget>
#include <QGridLayout>

class ScrollArea: public QWidget {
public:
	ScrollArea(QWidget* parent, QString str);
	ScrollArea(QString& str);

	QSlider *getSlider();
	
private:
	QLabel* label;
	QSlider* slider;
	QLineEdit* line_edit;
	QGridLayout *layout;
	ScrollArea *scroll_area;
		
Q_OBJECT
public slots:
	void handle_value_change(int value);
};

#endif // SCROLLAREA_H